import Mock from 'mockjs'
import demo from './data/demo'
import demoFun from './data/demoFun'
import {mulDemoApi1,mulDemoApi2} from './data/mulDemo'

Mock.mock(/\/data\/demo/, 'get', demo)
Mock.mock(/\/data\/fun/, 'get', demoFun)
Mock.mock(/\/data\/2/, 'get', mulDemoApi1)
Mock.mock(/\/data\/3/, 'get', mulDemoApi2)